Skip to content
This repository has been archived by the owner on Jan 1, 2023. It is now read-only.

updated to work with twig formula loader changes #142

Closed
wants to merge 7 commits into from

Conversation

kriswallsmith
Copy link
Contributor

compatibility with kriswallsmith/assetic#338

@@ -16,7 +16,7 @@
"require": {
"php": ">=5.3.0",
"symfony/framework-bundle": ">=2.1.0,<2.3-dev",
"kriswallsmith/assetic": "1.1.*"
"kriswallsmith/assetic": "dev-node-visitor"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be reverted before the merge (btw, should we release 1.1 first and bump Assetic to 1.2 with these changes ?)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What stability is 1.1 at?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

currently, we only have alpha releases for 1.1 (but doing a stable release would be a great idea)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thus, changing the signature of the Twig extension is a BC break for everyone using Assetic and Twig standalone so I don't really like doing this before the 1.1 release

Files in the cache directory need to be removed in
these static methods, otherwise Twig will see
class_exists() return true in ->loadTemplate()
and skip re-compiling because of that, but the
node visitor's ConfigCache file for that template
will be gone.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
3 participants